package annotation;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class CatTest {
	public static void main(String[] args) {
		ApplicationContext ac = new ClassPathXmlApplicationContext("annotation.xml");
		Cat c = ac.getBean("c",Cat.class);
		System.out.println(c);
	}
}
